package com.njwb.mapper;


import com.njwb.pojo.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmpMapper {

    List<Emp> getByDeptNoAndJob(@Param("deptNo") int deptNo, @Param("job") String job);

    List<Emp> getByChoose(@Param("name") String name,@Param("job") String job);

    List<Emp> getByWhere(@Param("name")String name,@Param("job")String job,@Param("deptNo") Integer deptNo);

    List<Emp> getByForEach(List<Integer> empnos);


}
